﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000557 RID: 1367
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightKickOutScNotify : IMessage<FightKickOutScNotify>, IMessage, IEquatable<FightKickOutScNotify>, IDeepCloneable<FightKickOutScNotify>, IBufferMessage
	{
		// Token: 0x1700119A RID: 4506
		// (get) Token: 0x06003D81 RID: 15745 RVA: 0x000A95C9 File Offset: 0x000A77C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightKickOutScNotify> Parser
		{
			get
			{
				return FightKickOutScNotify._parser;
			}
		}

		// Token: 0x1700119B RID: 4507
		// (get) Token: 0x06003D82 RID: 15746 RVA: 0x000A95D0 File Offset: 0x000A77D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightKickOutScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700119C RID: 4508
		// (get) Token: 0x06003D83 RID: 15747 RVA: 0x000A95E2 File Offset: 0x000A77E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightKickOutScNotify.Descriptor;
			}
		}

		// Token: 0x06003D84 RID: 15748 RVA: 0x000A95E9 File Offset: 0x000A77E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightKickOutScNotify()
		{
		}

		// Token: 0x06003D85 RID: 15749 RVA: 0x000A95F1 File Offset: 0x000A77F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightKickOutScNotify(FightKickOutScNotify other) : this()
		{
			this.kickType_ = other.kickType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003D86 RID: 15750 RVA: 0x000A9616 File Offset: 0x000A7816
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightKickOutScNotify Clone()
		{
			return new FightKickOutScNotify(this);
		}

		// Token: 0x1700119D RID: 4509
		// (get) Token: 0x06003D87 RID: 15751 RVA: 0x000A961E File Offset: 0x000A781E
		// (set) Token: 0x06003D88 RID: 15752 RVA: 0x000A9626 File Offset: 0x000A7826
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightKickoutType KickType
		{
			get
			{
				return this.kickType_;
			}
			set
			{
				this.kickType_ = value;
			}
		}

		// Token: 0x06003D89 RID: 15753 RVA: 0x000A962F File Offset: 0x000A782F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightKickOutScNotify);
		}

		// Token: 0x06003D8A RID: 15754 RVA: 0x000A963D File Offset: 0x000A783D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightKickOutScNotify other)
		{
			return other != null && (other == this || (this.KickType == other.KickType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003D8B RID: 15755 RVA: 0x000A966C File Offset: 0x000A786C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KickType != FightKickoutType.FightKickoutUnknown)
			{
				num ^= this.KickType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003D8C RID: 15756 RVA: 0x000A96B1 File Offset: 0x000A78B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003D8D RID: 15757 RVA: 0x000A96B9 File Offset: 0x000A78B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003D8E RID: 15758 RVA: 0x000A96C2 File Offset: 0x000A78C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.KickType != FightKickoutType.FightKickoutUnknown)
			{
				output.WriteRawTag(112);
				output.WriteEnum((int)this.KickType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003D8F RID: 15759 RVA: 0x000A96F4 File Offset: 0x000A78F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KickType != FightKickoutType.FightKickoutUnknown)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.KickType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003D90 RID: 15760 RVA: 0x000A9732 File Offset: 0x000A7932
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightKickOutScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KickType != FightKickoutType.FightKickoutUnknown)
			{
				this.KickType = other.KickType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003D91 RID: 15761 RVA: 0x000A9763 File Offset: 0x000A7963
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003D92 RID: 15762 RVA: 0x000A976C File Offset: 0x000A796C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.KickType = (FightKickoutType)input.ReadEnum();
				}
			}
		}

		// Token: 0x0400186F RID: 6255
		private static readonly MessageParser<FightKickOutScNotify> _parser = new MessageParser<FightKickOutScNotify>(() => new FightKickOutScNotify());

		// Token: 0x04001870 RID: 6256
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001871 RID: 6257
		public const int KickTypeFieldNumber = 14;

		// Token: 0x04001872 RID: 6258
		private FightKickoutType kickType_;
	}
}
